// include boolean 0 | 1
const a = false ?? 6; // false
console.log(a);

// 可选链
const user = {
  address: {
    street: "天府大道",
    getNum() {
      return "80";
    },
  },
};

const street = user?.address?.street;
const num = user?.address?.getNum?.();
